package gemini.castor.ui.client.page.content.information.stepbystep.form;

import gemini.castor.ui.client.mvp.single.CastorWidgetDisplay;
import gemini.castor.ui.client.mvp.single.CastorWidgetPresenter;
import gemini.castor.ui.client.utils.PlaceConstants;
import ch.elca.gwt.mvp.client.EventBus;
import ch.elca.gwt.mvp.client.place.Place;

import com.google.inject.Inject;

public class StepByStepFormPresenter extends
		CastorWidgetPresenter<StepByStepFormPresenter.Display> {

	@Inject
	public StepByStepFormPresenter(Display display, EventBus globalEventBus) {
		super(display, globalEventBus);
	}

	public interface Display extends CastorWidgetDisplay {
	}

	public static final Place PLACE = new Place(PlaceConstants.PLACE_STEP_BY_STEP);
	
	@Override
	protected void onBind() {
		display.loadData();
	}


	@Override
	public Place getPlace() {
		return PLACE;
	}
}
